{% extends "base_secr_bootstrap.html" %}
{% load i18n %}
{% load ietf_filters %}
{% load static %}

{% block title %}{{ title }}{% if user|has_role:"Secretariat" %} Secretariat Dashboard {% else %} WG Chair Dashboard {% endif %}{% endblock %}

{% block branding %}
    <table>
        <tbody>
        <tr>
            <td class="text-start">
                <h1 id="site-name">{% if user|has_role:"Secretariat" %} Secretariat Dashboard {% else %} WG Chair Dashboard {% endif %}</h1>
            </td>
            <td class="text-end">
                <br>
                <span class="login">{% if user|has_role:"Secretariat" %}Secretariat {% endif %}Logged in: <a href="{% url 'ietf.ietfauth.views.profile' %}">{{ user }}</a>  | <a rel="nofollow" href="{% url 'django.contrib.auth.views.logout' %}">Log out</a></span>
            </td>
        </tr>
        </tbody>
    </table>
{% endblock %}

{% block nav-global %}{% endblock %}

{% block footer %}
    <div id="footer">
        <div id="footer-extras">
            {% block footer-extras %}{% endblock %}
        </div>
        <div id="footer-version">
            <p>IETF Secretariat Tools v. {{ secr_version_num }}</p>

        </div>
        <div id="footer-logo">
            <a href="https://www.amsl.com/"><img src="{% static 'secr/images/ams_logo.png' %}" alt="AMS" class="text-end p-3" ></a>
        </div>
    </div>
{% endblock %}